package com.medical.project.system.domain;

import com.medical.framework.aspectj.lang.annotation.Excel;
import com.medical.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 农合经办点对象 t_institution
 * 
 * @author tale
 * @date 2020-06-20
 */
public class Institution extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 农合机构编码 */
    private String institutionCode;

    /** 所属行政编码 */
    @Excel(name = "所属行政编码")
    private String areaCode;

    /** 农合机构名称 */
    @Excel(name = "农合机构名称")
    private String institutionName;

    /** 级别 */
    @Excel(name = "级别")
    private Integer grade;

    public void setInstitutionCode(String institutionCode) 
    {
        this.institutionCode = institutionCode;
    }

    public String getInstitutionCode() 
    {
        return institutionCode;
    }
    public void setAreaCode(String areaCode) 
    {
        this.areaCode = areaCode;
    }

    public String getAreaCode() 
    {
        return areaCode;
    }
    public void setInstitutionName(String institutionName) 
    {
        this.institutionName = institutionName;
    }

    public String getInstitutionName() 
    {
        return institutionName;
    }
    public void setGrade(Integer grade) 
    {
        this.grade = grade;
    }

    public Integer getGrade() 
    {
        return grade;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("institutionCode", getInstitutionCode())
            .append("areaCode", getAreaCode())
            .append("institutionName", getInstitutionName())
            .append("grade", getGrade())
            .toString();
    }
}
